﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace YmSoft.Kblog.Web.Admin.Services.GetMenu
{
    /// <summary>
    /// getMenuJson 的摘要说明
    /// </summary>
    public class getMenuJson : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            string tokey = context.Request.Form["tokey"].ToString();
            context.Response.Write("{\"server\":\""+DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")+"\"}");
            //YmSoft.Kblog.BLL.LoginManager login = new BLL.LoginManager();
            //context.Response.Write(login.GetMenuJSON(tokey));
            context.Response.End();
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}